package com.microservices.yucloud.api.mapper;

import com.microservices.yucloud.api.entity.Email;

import java.util.List;

/**
 * @author zy
 * @date 2019-08-15 14:56
 **/
public interface EmailMapper {

    List<Email> selectEmailList(Email email);

    List<Email> selectEmailTasks();

    Email selectEmailById(Integer id);

    void insertEmail(Email email);

    void updateEmail(Email email);

    void deleteEmailById(Integer id);

    void deleteEmailByIds(List<Integer> ids);
}
